{"version":3,"sources":["ui.pinner.js"],"names":["BX","namespace","UI","Pinner","node","options","this","pinTop","pinBottom","fixTop","fixBottom","initialWidth","style","width","init","prototype","timeout","classUi","classTop","classBottom","classFullWidth","anchorBottom","anchorTop","document","createElement","parentNode","insertBefore","querySelector","nextSibling","bind","window","throttle","onChange","box","isNodeOnScreenBottom","applyNodeWidth","removeClass","addClass","pos","height","isNodeOnScreenTop","fullWidth","anchorNode","getBoundingClientRect","coordinates","getCoordinates","top","windowTop","bottom","windowBottom","documentElement","scrollHeight","pageYOffset","scrollTop","clientHeight","offsetHeight","left","pageXOffset"],"mappings":"CAAC,WAEA,aAEAA,GAAGC,UAAU,SAEbD,GAAGE,GAAGC,OAAS,SAASC,EAAMC,GAE7BC,KAAKF,KAAOA,EACZE,KAAKD,QAAUA,MACf,UAAWC,KAAKD,QAAc,SAAM,oBAAsBC,KAAKD,QAAiB,YAAM,YACtF,CACCC,KAAKD,QAAQE,OAAS,KACtBD,KAAKD,QAAQG,UAAY,SAG1B,CACCF,KAAKD,QAAQE,SAAWD,KAAKD,QAAQE,OACrCD,KAAKD,QAAQG,YAAcF,KAAKD,QAAQG,UAGzCF,KAAKD,QAAQI,SAAWH,KAAKD,QAAQI,OACrCH,KAAKD,QAAQK,YAAcJ,KAAKD,QAAQK,UAExCJ,KAAKD,QAAQM,aAAeP,EAAKQ,MAAMC,MAEvCP,KAAKQ,QAENd,GAAGE,GAAGC,OAAOY,WACZX,KAAM,KACNC,WACAW,QAAS,EACTC,QAAS,YACTC,SAAU,gBACVC,YAAa,mBACbC,eAAgB,uBAChBN,KAAM,WAEL,IAAIV,EAAOE,KAAKF,KAChB,IAAIC,EAAUC,KAAKD,QACnB,IAAIgB,EAEJ,IAAKhB,EAAQiB,UACb,CACC,IAAIA,EAAYC,SAASC,cAAc,OACvCpB,EAAKqB,WAAWC,aAAaJ,EAAWlB,GACxCC,EAAQiB,UAAYA,EAGrB,GAAIC,SAASI,cAActB,EAAQgB,cACnC,CACCA,EAA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